Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency express-rate-limit to v7 - autoclosed #28

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 12, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
express-rate-limit ^6.8.1 -> ^7.0.0 age adoption passing confidence

Release Notes

express-rate-limit/express-rate-limit (express-rate-limit)

v7.1.5

Compare Source

You can view the changelog here.

v7.1.4

Compare Source

You can view the changelog here.

v7.1.3

Compare Source

Changed
  • Loosened peer dependencies to explicitly allow the Express 5 beta. (See
    #​415)

v7.1.2

Compare Source

Changed
  • Re-organized documentation from readme into docs/ folder and added
    documentation website.

v7.1.1

Compare Source

Added

v7.1.0

Compare Source

Changed
  • The getKey method is now always defined. If the store does not have the
    required get method, getKey will throw an error explaining this.

v7.0.2

Compare Source

Added
  • Added cluster-memory-store to the readme and made a couple of other minor
    clarifications.

v7.0.1

Compare Source

Added
  • Added rate-limit-postgresql to the stores list in the readme.

v7.0.0

Compare Source

Breaking
  • Changed behavior when max is set to 0:
    • Previously, max: 0 was treated as a 'disable' flag and would allow all
      requests through.
    • Starting with v7, all requests will be blocked when max is set to 0.
    • To replicate the old behavior, use the
      skip
      function instead.
  • Renamed req.rateLimit.current to req.rateLimit.used.
    • current is now a hidden getter that will return the used value, but it
      will not appear when iterating over the keys or calling JSON.stringify().
  • Changed the minimum required Node version from v14 to v16.
    • express-rate-limit now targets es2022 in TypeScript/ESBuild.
  • Bumped TypeScript from v4 to v5 and dts-bundle-generator from v7 to v8.
Deprecated
  • Removed the draft_polli_ratelimit_headers option (it was deprecated in v6).
    • Use standardHeaders: 'draft-6' instead.
  • Removed the onLimitReached option (it was deprecated in v6).
    • This
      is an example of how to replicate it's behavior with a custom handler
      option.
Changed
  • The MemoryStore now uses precise, per-user reset times rather than a global
    window that resets all users at once.
  • The limit configuration option is now prefered to max.
    • It still shows the same behavior, and max is still supported. The change
      was made to better align with terminology used in the IETF standard drafts.
Added
  • The validate config option can now be an object with keys to enable or
    disable specific validation checks. For more information, see
    this.

v6.11.2

Compare Source

Fixed
  • Restored IncrementResponse TypeScript type (See
    #​397)

v6.11.1

Compare Source

Fixed
  • Check for prefixed keys when validating that the stores have single counted
    keys (See
    #​395).

v6.11.0

Compare Source

Added
  • Support for retrieving the current hit count and reset time for a given key
    from a store (See
    #​390).

v6.10.0

Compare Source

Added
  • Support for combined RateLimit header from the
    RateLimit header fields for HTTP standardization draft
    adopted by the IETF. Enable by setting standardHeaders: 'draft-7'.
  • New standardHeaders: 'draft-6' option, treated equivalent to
    standardHeaders: true from previous releases. Note that true and false
    are still supported.
  • New RateLimit-Policy header added when standardHeaders is set to
    'draft-6', 'draft-7', or true.
  • Warning when using deprecated draft_polli_ratelimit_headers option.
  • Warning when using deprecated onLimitReached option.
  • Warning when totalHits value returned from Store is invalid.

v6.9.0

Compare Source

Added
  • New validaion check for double-counted requests.
  • Added help link to each validation error, directing users to the appropriate
    wiki page for more info.
Changed
  • Miscellaneous documenation improvements.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title chore(deps): update dependency express-rate-limit to v7 chore(deps): update dependency express-rate-limit to v7 - autoclosed Dec 7, 2023
@renovate renovate bot closed this Dec 7, 2023
@renovate renovate bot deleted the renovate/express-rate-limit-7.x branch December 7, 2023 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants